import { createRequest } from '/@/api/service';
const module = 'ib/base/v1/EmergencyPlanApi/';
/**
 * @function 查看应急预案详情
 * @param data
 * @param header
 * @returns {Promise}
 */
function QUERY_EMERGENCY_PLAN_DETAIL(
  data: EmergencyPlanApi.QueryEmergencyPlanDetailReq,
  header: object = {},
): Promise<EmergencyPlanApi.QueryEmergencyPlanDetailResp> {
  return createRequest(
    `${process.env.APP_API_URL}${module}queryEmergencyPlanDetail`,
    data,
    header,
    'POST',
  );
}

export { QUERY_EMERGENCY_PLAN_DETAIL };
